home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Apple II / Essentials / Essentials.sea / APW Interfaces / CInclude / Window.h < prev   
Encoding:
C/C++ Source or Header  |  1993-06-15  |  17.1 KB  |  444 lines  |  [TEXT/MPS ]

  1. /********************************************
  2. ; File: Window.h
  3. ;
  4. ;
  5. ; Copyright Apple Computer, Inc. 1986-93
  6. ; All Rights Reserved
  7. ;
  8. ********************************************/
  9. #ifndef __TYPES__
  10. #include <TYPES.h>
  11. #endif
  12.  
  13. #ifndef __QUICKDRAW__
  14. #include <QUICKDRAW.h>
  15. #endif
  16.  
  17. #ifndef __EVENT__
  18. #include <EVENT.h>
  19. #endif
  20.  
  21. #ifndef __CONTROL__
  22. #include <CONTROL.h>
  23. #endif
  24.  
  25. #ifndef __WINDOW__
  26. #define __WINDOW__
  27.  
  28.  
  29. /* Error Codes */
  30. #define paramLenErr 0x0E01    /* first word of parameter list is the wrong size */
  31. #define allocateErr 0x0E02    /* unable to allocate window record */
  32. #define taskMaskErr 0x0E03    /* reserved bits are not clear in wmTaskMask */
  33. #define compileTooLarge 0x0E04    /* Compiled text is larger than 64 KB */
  34. #define cantUpdateErr 0x0E05    /* window couldn't be updated */
  35.  
  36. /* Axis Parameters */
  37. #define wNoConstraint 0x0000    /* No constraint on movement. */
  38. #define wHAxisOnly 0x0001        /* Horizontal axis only. */
  39. #define wVAxisOnly 0x0002        /* Vertical axis only. */
  40.  
  41. /* Desktop Command Codes */
  42. #define FromDesk 0x00            /* Subtract region from desktop */
  43. #define ToDesk 0x1                /* Add region to desktop */
  44. #define GetDesktop 0x2            /* Get Handle of Desktop region */
  45. #define SetDesktop 0x3            /* Set Handle of Desktop region */
  46. #define GetDeskPat 0x4            /* Address of pattern or drawing routine */
  47. #define SetDeskPat 0x5            /* Change Address of pattern or drawing routine */
  48. #define GetVisDesktop 0x6        /* Get destop region less visible windows. */
  49. #define BackGroundRgn 0x7        /* For drawing directly on desktop. */
  50. #define CheckForNewDeskMsg 0x8    /* Force rechecking message #2 */
  51.  
  52. /* SendBehind Values */
  53. #define toBottom 0xFFFFFFFEL    /* To send window to bottom. */
  54. #define topMost 0xFFFFFFFFL        /* To make window top. */
  55. #define bottomMost 0x0000L        /* To make window bottom. */
  56.  
  57. /* Task Masks */
  58. #define tmMenuKey 0x00000001L
  59. #define tmUpdate 0x00000002L
  60. #define tmFindW 0x00000004L
  61. #define tmMenuSel 0x0008L
  62. #define tmOpenNDA 0x0010L
  63. #define tmSysClick 0x0020L
  64. #define tmDragW 0x0040L
  65. #define tmContent 0x0080L
  66. #define tmClose 0x0100L
  67. #define tmZoom 0x0200L
  68. #define tmGrow 0x0400L
  69. #define tmScroll 0x0800L
  70. #define tmSpecial 0x1000L
  71. #define tmCRedraw 0x2000L
  72. #define tmInactive 0x4000L
  73. #define tmInfo 0x8000L
  74. #define tmContentControls 0x00010000L
  75. #define tmControlKey 0x00020000L
  76. #define tmControlMenu 0x00040000L
  77. #define tmMultiClick 0x00080000L
  78. #define tmIdleEvents 0x00100000L
  79.  
  80. /* TaskMaster Codes */
  81. #define wNoHit 0x0000        /* retained for back compatibility. */
  82. #define inNull 0x0000        /* retained for back compatibility */
  83. #define inKey 0x0003        /* retained for back compatibility */
  84. #define inButtDwn 0x0001    /* retained for back compatibility */
  85. #define inUpdate 0x0006        /* retained for back compatibility */
  86. #define wInDesk 0x0010        /* On Desktop */
  87. #define wInMenuBar 0x0011    /* On system menu bar */
  88. #define wClickCalled 0x0012    /* system click called */
  89. #define wInContent 0x0013    /* In content region */
  90. #define wInDrag 0x0014        /* In drag region */
  91. #define wInGrow 0x0015        /* In grow region, active window only */
  92. #define wInGoAway 0x0016    /* In go-away region, active window only */
  93. #define wInZoom 0x0017        /* In zoom region, active window only */
  94. #define wInInfo 0x0018        /* In information bar */
  95. #define wInSpecial 0x0019    /* Item ID selected was 250 - 255 */
  96. #define wInDeskItem 0x001A    /* Item ID selected was 1 - 249 */
  97. #define wInFrame 0x1B        /* in Frame, but not on anything else */
  98. #define wInactMenu 0x1C        /* 'selection' of inactive menu item */
  99. #define wClosedNDA 0x001D    /* desk accessory closed */
  100. #define wCalledSysEdit 0x001E    /* inactive menu item selected */
  101. #define wInSysWindow 0x8000    /* hi bit set for system windows */
  102.  
  103. /* VarCode */
  104. #define wDraw 0x00        /* Draw window frame command. */
  105. #define wHit 0x01        /* Hit test command. */
  106. #define wCalcRgns 0x02    /* Compute regions command. */
  107. #define wNew 0x03        /* Initialization command. */
  108. #define wDispose 0x04    /* Dispose command. */
  109. #define wGetDrag 5        /* Return address of outline drawing handler */
  110. #define wGrowFrame 6    /* Draw outline of window being resized */
  111. #define wRecSize 7        /* Return size of additional space neeed in the windrec */
  112. #define wPos 8            /* Return RECT that is the window's portRect */
  113. #define wBehind 9        /* Return where the window should be placed in the list */
  114. #define wCallDefProc 10    /* Generic call to the defproc */
  115.  
  116. /* WFrame */
  117. #define fHilited 0x0001    /* Window is highlighted. */
  118. #define fZoomed 0x0002    /* Window is zoomed. */
  119. #define fAllocated 0x0004    /* Window record was allocated. */
  120. #define fCtlTie 0x0008    /* Window state tied to controls. */
  121. #define fInfo 0x0010    /* Window has an information bar. */
  122. #define fVis 0x0020        /* Window is visible. */
  123. #define fQContent 0x0040
  124. #define fMove 0x0080    /* Window is movable. */
  125. #define fZoom 0x0100    /* Window is zoomable. */
  126. #define fFlex 0x0200
  127. #define fGrow 0x0400    /* Window has grow box. */
  128. #define fBScroll 0x0800    /* Window has horizontal scroll bar. */
  129. #define fRScroll 0x1000    /* Window has vertical scroll bar. */
  130. #define fAlert 0x2000
  131. #define fClose 0x4000    /* Window has a close box. */
  132. #define fTitle 0x8000    /* Window has a title bar. */
  133.  
  134. /* DoModalWindow flag values */
  135. #define mwMovable 0x8000
  136. #define mwUpdateAll 0x4000
  137. #define mwDeskAcc 0x0010
  138. #define mwIBeam 0x0008
  139. #define mwMenuKey 0x0004
  140. #define mwMenuSelect 0x0002
  141. #define mwNoScrapForLE 0x0001
  142.  
  143. /* UpdateWindow flag values */
  144. #define uwBackground 0x8000
  145. #define uwGSOSnotAvail 0x4000
  146.  
  147. /* HandleDiskInsert flag values (bit flags) */
  148. #define hdiScan 0x8000
  149. #define hdiHandle 0x4000
  150. #define hdiUpdate 0x2000
  151. #define hdiReportEjects 0x1000
  152. #define hdiNoDelay 0x0800
  153. #define hdiDupDisk 0x0400
  154. #define hdiCheckTapeDrives 0x0200
  155. #define hdiUnreadable 0x0100
  156. #define hdiMarkOffline 0x0001
  157.  
  158. /* HandleDiskInsert result flag values (bit flags) */
  159. #define hdiFormatted 0x0002
  160. #define hdiEjection 0x0001
  161.  
  162. /* constants for AlertWindow alertFlags */
  163. #define awCString 0x0000
  164. #define awPString 0x0001
  165. #define awPointer 0x0000
  166. #define awHandle 0x0002
  167. #define awResource 0x0004
  168. #define awTextFullWidth 0x0008
  169. #define awForceBeep 0x0010
  170. #define awButtonLayout 0x0020
  171. #define awNoDevScan 0x0040
  172. #define awNoDisposeRes 0x0080
  173. #define awWatchForDisk 0x0100
  174. #define awIconIsResource 0x0200
  175. #define awFullColor 0x0400
  176.  
  177. /* Other Constants */
  178. #define windSize 0x00D4            /* Size of WindRec. */
  179. #define wmTaskRecSize 0x002E    /* Size of WmTaskRec. */
  180. #define wTrackZoom 0x001F
  181. #define wHitFrame 0x0020
  182. #define wInControl 0x0021
  183. #define wInControlMenu 0x0022
  184.  
  185. /* custom defproc dRequest codes (from TN #42) */
  186. #define wSetOrgMask            0
  187. #define wSetMaxGrow            1
  188. #define wSetScroll            2
  189. #define wSetPage            3
  190. #define wSetInfoRefCon        4
  191. #define wSetInfoDraw        5
  192. #define wSetOrigin            6
  193. #define wSetDataSize        7
  194. #define wSetZoomRect        8
  195. #define wSetTitle            9
  196. #define wSetColorTable        10
  197. #define wSetFrameFlag        11
  198. #define wGetOrgMask            12
  199. #define wGetMaxGrow            13
  200. #define wGetScroll            14
  201. #define wGetPage            15
  202. #define wGetInfoRefCon        16
  203. #define wGetInfoDraw        17
  204. #define wGetOrigin            18
  205. #define wGetDataSize        19
  206. #define wGetZoomRect        20
  207. #define wGetTitle            21
  208. #define wGetColorTable        22
  209. #define wGetFrameFlag        23
  210. #define wGetInfoRect        24
  211. #define wGetDrawInfo        25
  212. #define wGetStartInfoDraw    26
  213. #define wGetEndInfoDraw        27
  214. #define wZoomWindow            28
  215. #define wStartDrawing        29
  216. #define wStartMove            30
  217. #define wStartGrow            31
  218. #define wNewSize            32
  219. #define wTask                33
  220.  
  221. typedef EventRecord WmTaskRec;
  222. typedef EventRecordPtr WmTaskRecPtr;
  223.  
  224. typedef struct WindColor {
  225.     Word frameColor;     /* Color of window frame. */
  226.     Word titleColor;     /* Color of title and bar. */
  227.     Word tBarColor;     /* Color/pattern of title bar. */
  228.     Word growColor;     /* Color of grow box. */
  229.     Word infoColor;     /* Color of information bar. */
  230. } WindColor, *WindColorPtr, **WindColorHndl;
  231.  
  232. typedef struct WindRec {
  233.     /* struct WindRec *wNext; not included in record returned by ToolBox calls */
  234.     GrafPort port;            /* Window's port */
  235.     ProcPtr wDefProc;
  236.     LongWord wRefCon;
  237.     ProcPtr wContDraw;
  238.     LongWord wReserved;        /* Space for future expansion */
  239.     RegionHndl wStrucRgn;    /* Region of frame plus content. */
  240.     RegionHndl wContRgn;    /* Content region. */
  241.     RegionHndl wUpdateRgn;    /* Update region. */
  242.     CtlRecHndl wControls;    /* Window's control list. */
  243.     CtlRecHndl wFrameCtrls;    /* Window frame's control list. */
  244.     Word wFrame;
  245. } WindRec, *WindRecPtr;
  246.  
  247. typedef struct ParamList {
  248.     Word paramLength;        /* Parameter to NewWindow.  */
  249.     Word wFrameBits;        /* Parameter to NewWindow. */
  250.     Pointer wTitle;            /* Parameter to NewWindow. */
  251.     LongWord wRefCon;        /* Parameter to NewWindow. */
  252.     Rect wZoom;                /* Parameter to NewWindow. */
  253.     WindColorPtr wColor;    /* Parameter to NewWindow. */
  254.     Word wYOrigin;            /* Parameter to NewWindow. */
  255.     Word wXOrigin;            /* Parameter to NewWindow. */
  256.     Word wDataH;            /* Parameter to NewWindow. */
  257.     Word wDataW;            /* Parameter to NewWindow. */
  258.     Word wMaxH;                /* Parameter to NewWindow. */
  259.     Word wMaxW;                /* Parameter to NewWindow. */
  260.     Word wScrollVer;        /* Parameter to NewWindow. */
  261.     Word wScrollHor;        /* Parameter to NewWindow. */
  262.     Word wPageVer;            /* Parameter to NewWindow. */
  263.     Word wPageHor;            /* Parameter to NewWindow. */
  264.     LongWord wInfoRefCon;    /* Parameter to NewWindow. */
  265.     Word wInfoHeight;        /* height of information bar */
  266.     LongProcPtr wFrameDefProc;    /* Parameter to NewWindow. */
  267.     VoidProcPtr wInfoDefProc;    /* Parameter to NewWindow. */
  268.     VoidProcPtr wContDefProc;    /* Parameter to NewWindow. */
  269.     Rect wPosition;            /* Parameter to NewWindow. */
  270.     WindowPtr wPlane;        /* Parameter to NewWindow. */
  271.     WindRecPtr wStorage;    /* Parameter to NewWindow. */
  272. } ParamList, *ParamListPtr, **ParamListHndl;
  273.  
  274. typedef struct WindParam1 {
  275.     Word            p1Length;
  276.     Word            p1Frame;
  277.     Pointer            p1Title;
  278.     LongWord        p1RefCon;
  279.     Rect            p1ZoomRect;
  280.     WindColorPtr    p1ColorTable;
  281.     Word            p1YOrigin;
  282.     Word            p1XOrigin;
  283.     Word            p1DataHeight;
  284.     Word            p1DataWidth;
  285.     Word            p1MaxHeight;
  286.     Word            p1MaxWidth;
  287.     Word            p1VerScroll;
  288.     Word            p1HorScroll;
  289.     Word            p1VerPage;
  290.     Word            p1HorPage;
  291.     LongWord        p1InfoText;
  292.     Word            p1InfoHeight;
  293.     LongProcPtr        p1DefProc;
  294.     VoidProcPtr        p1InfoDraw;
  295.     VoidProcPtr        p1ContentDraw;
  296.     Rect            p1Position;
  297.     WindowPtr        p1Plane;
  298.     Long            p1ControlList;
  299.     Word            p1InDesc;
  300. } WindParam1, *WindParam1Ptr, **WindParam1Hndl;
  301.  
  302. typedef struct DeskMessageRecord {
  303.     LongWord reserved;
  304.     Word messageType;
  305.     Word drawType;
  306. } DeskMessageRecord, *DeskMessageRecordPtr;
  307.  
  308. typedef struct AuxWindInfoRecord {
  309.     Word recordSize;
  310.     Word reservedForBank;
  311.     Word reservedForDP;
  312.     Word reservedForResApp;
  313.     LongWord reservedForUpdateHandle;
  314.     LongWord reservedForEndUpdatePort;
  315.     LongWord reservedForWindoidLayer;
  316.     Word sysWindMinHeight;
  317.     Word sysWindMinWidth;
  318.     Ptr NDASysWindPtr;
  319. } AuxWindInfoRecord, *AuxWindInfoPtr;
  320.  
  321. typedef struct WindGlobalsRec {
  322.     Word        lineW;
  323.     Word        titleHeight;
  324.     Word        titleYPos;
  325.     Word        closeHeight;
  326.     Word        closeWidth;
  327.     LongWord    defWindClr;
  328.     LongWord    windIconFont;
  329.     Word        screenMode;
  330.     Byte        pattern[32];
  331.     Word        callerDPage;
  332.     Word        callerDataB;
  333. } WindGlobalsRec, *WindGlobalsRecPtr, **WindGlobalsRecHndl;
  334.  
  335. extern pascal Word AlertWindow() inline(0x590E,dispatcher);
  336. extern pascal void BeginUpdate() inline(0x1E0E,dispatcher);
  337. extern pascal void BringToFront() inline(0x240E,dispatcher);
  338. extern pascal Boolean CheckUpdate() inline(0x0A0E,dispatcher);
  339. extern pascal void CloseWindow() inline(0x0B0E,dispatcher);
  340. extern pascal Handle CompileText() inline(0x600E,dispatcher);
  341. extern pascal Pointer Desktop() inline(0x0C0E,dispatcher);
  342. extern pascal void DragWindow() inline(0x1A0E,dispatcher);
  343. extern pascal void DrawInfoBar() inline(0x550E,dispatcher);
  344. extern pascal void EndFrameDrawing() inline(0x5B0E,dispatcher);
  345. extern pascal void EndInfoDrawing() inline(0x510E,dispatcher);
  346. extern pascal void EndUpdate() inline(0x1F0E,dispatcher);
  347. extern pascal Word ErrorWindow() inline(0x620E,dispatcher);
  348. extern pascal Word FindWindow() inline(0x170E,dispatcher);
  349. extern pascal WindowPtr FrontWindow() inline(0x150E,dispatcher);
  350. extern pascal void GDRPrivate() inline(0x540E,dispatcher);
  351. extern pascal VoidProcPtr GetContentDraw() inline(0x480E,dispatcher);
  352. extern pascal Long GetContentOrigin () inline(0x3E0E,dispatcher);
  353. extern pascal RegionHndl GetContentRgn() inline(0x2F0E,dispatcher);
  354. extern pascal LongWord GetDataSize() inline(0x400E,dispatcher);
  355. extern pascal LongProcPtr GetDefProc() inline(0x310E,dispatcher);
  356. extern pascal WindowPtr GetFirstWindow() inline(0x520E,dispatcher);
  357. extern pascal void GetFrameColor() inline(0x100E,dispatcher);
  358. extern pascal VoidProcPtr GetInfoDraw() inline(0x4A0E,dispatcher);
  359. extern pascal LongWord GetInfoRefCon() inline(0x350E,dispatcher);
  360. extern pascal LongWord GetMaxGrow() inline(0x420E,dispatcher);
  361. extern pascal WindowPtr GetNextWindow() inline(0x2A0E,dispatcher);
  362. extern pascal LongWord GetPage() inline(0x460E,dispatcher);
  363. extern pascal void GetRectInfo() inline(0x4F0E,dispatcher);
  364. extern pascal LongWord GetScroll() inline(0x440E,dispatcher);
  365. extern pascal RegionHndl GetStructRgn() inline(0x2E0E,dispatcher);
  366. extern pascal Boolean GetSysWFlag() inline(0x4C0E,dispatcher);
  367. extern pascal RegionHndl GetUpdateRgn() inline(0x300E,dispatcher);
  368. extern pascal CtlRecHndl GetWControls() inline(0x330E,dispatcher);
  369. extern pascal Word GetWFrame() inline(0x2C0E,dispatcher);
  370. extern pascal Word GetWKind() inline(0x2B0E,dispatcher);
  371. extern pascal WindowPtr GetWMgrPort() inline(0x200E,dispatcher);
  372. extern pascal LongWord GetWRefCon() inline(0x290E,dispatcher);
  373. extern pascal Pointer GetWTitle() inline(0x0E0E,dispatcher);
  374. extern pascal Ptr GetWindowMgrGlobals() inline(0x580E,dispatcher);
  375. extern pascal Rect *GetZoomRect() inline(0x370E,dispatcher);
  376. extern pascal LongWord GrowWindow() inline(0x1B0E,dispatcher);
  377. extern pascal void HideWindow() inline(0x120E,dispatcher);
  378. extern pascal void HiliteWindow() inline(0x220E,dispatcher);
  379. extern pascal void InvalRect() inline(0x3A0E,dispatcher);
  380. extern pascal void InvalRgn() inline(0x3B0E,dispatcher);
  381. extern pascal void MoveWindow() inline(0x190E,dispatcher);
  382. extern pascal WindowPtr NewWindow() inline(0x090E,dispatcher);
  383. extern pascal WindowPtr NewWindow2() inline(0x610E,dispatcher);
  384. extern pascal Point PinRect() inline(0x210E,dispatcher);
  385. extern pascal void RefreshDesktop() inline(0x390E,dispatcher);
  386. extern pascal void ResizeWindow() inline(0x5C0E,dispatcher);
  387. extern pascal void SelectWindow() inline(0x110E,dispatcher);
  388. extern pascal void SendBehind() inline(0x140E,dispatcher);
  389. extern pascal void SetContentDraw() inline(0x490E,dispatcher);
  390. extern pascal void SetContentOrigin() inline(0x3F0E,dispatcher);
  391. extern pascal void SetContentOrigin2() inline(0x570E,dispatcher);
  392. extern pascal void SetDataSize() inline(0x410E,dispatcher);
  393. extern pascal void SetDefProc() inline(0x320E,dispatcher);
  394. extern pascal void SetFrameColor() inline(0x0F0E,dispatcher);
  395. extern pascal void SetInfoDraw() inline(0x160E,dispatcher);
  396. extern pascal void SetInfoRefCon() inline(0x360E,dispatcher);
  397. extern pascal void SetMaxGrow() inline(0x430E,dispatcher);
  398. extern pascal void SetOriginMask() inline(0x340E,dispatcher);
  399. extern pascal void SetPage() inline(0x470E,dispatcher);
  400. extern pascal void SetScroll() inline(0x450E,dispatcher);
  401. extern pascal void SetSysWindow() inline(0x4B0E,dispatcher);
  402. extern pascal void SetWFrame() inline(0x2D0E,dispatcher);
  403. extern pascal void SetWRefCon() inline(0x280E,dispatcher);
  404. extern pascal void SetWTitle() inline(0x0D0E,dispatcher);
  405. extern pascal FontHndl SetWindowIcons() inline(0x4E0E,dispatcher);
  406. extern pascal void SetZoomRect() inline(0x380E,dispatcher);
  407. extern pascal void ShowHide() inline(0x230E,dispatcher);
  408. extern pascal void ShowWindow() inline(0x130E,dispatcher);
  409. extern pascal void SizeWindow() inline(0x1C0E,dispatcher);
  410. extern pascal void StartDrawing() inline(0x4D0E,dispatcher);
  411. extern pascal void StartFrameDrawing() inline(0x5A0E,dispatcher);
  412. extern pascal void StartInfoDrawing() inline(0x500E,dispatcher);
  413. extern pascal Word TaskMaster() inline(0x1D0E,dispatcher);
  414. extern pascal void TaskMasterContent() inline(0x5D0E,dispatcher);
  415. extern pascal Word TaskMasterDA() inline(0x5F0E,dispatcher);
  416. extern pascal void TaskMasterKey() inline(0x5E0E,dispatcher);
  417. extern pascal Boolean TrackGoAway() inline(0x180E,dispatcher);
  418. extern pascal Boolean TrackZoom() inline(0x260E,dispatcher);
  419. extern pascal void ValidRect() inline(0x3C0E,dispatcher);
  420. extern pascal void ValidRgn() inline(0x3D0E,dispatcher);
  421. extern pascal void WindBootInit() inline(0x010E,dispatcher);
  422. extern pascal LongWord WindDragRect() inline(0x530E,dispatcher);
  423. extern pascal void WindNewRes() inline(0x250E,dispatcher);
  424. extern pascal void WindReset() inline(0x050E,dispatcher);
  425. extern pascal void WindShutDown() inline(0x030E,dispatcher);
  426. extern pascal void WindStartUp() inline(0x020E,dispatcher);
  427. extern pascal Boolean WindStatus() inline(0x060E,dispatcher);
  428. extern pascal Word WindVersion() inline(0x040E,dispatcher);
  429. extern pascal Word WindowGlobal() inline(0x560E,dispatcher);
  430. extern pascal void ZoomWindow() inline(0x270E,dispatcher);
  431.  
  432. extern pascal AuxWindInfoPtr GetAuxWindInfo() inline(0x630E,dispatcher);
  433. extern pascal LongWord DoModalWindow() inline(0x640E,dispatcher);
  434. extern pascal Word MWGetCtlPart() inline(0x650E,dispatcher);
  435. extern pascal VoidProcPtr SetMenuProc() inline(0x660E,dispatcher);
  436. extern pascal void MWStdDrawProc() inline(0x670E,dispatcher);
  437. extern pascal void MWSetUpEditMenu() inline(0x680E,dispatcher);
  438. extern pascal Word FindCursorCtl() inline(0x690E,dispatcher);
  439. extern pascal void ResizeInfoBar() inline(0x6A0E,dispatcher);
  440. extern pascal LongWord HandleDiskInsert() inline(0x6B0E,dispatcher);
  441. extern pascal void UpdateWindow() inline(0x6C0E,dispatcher);
  442.  
  443. #endif
  444.